package com.yazi.mxz.server.response.mixin;

import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Article;
import com.yazi.mxz.common.entity.beans.Member;
import com.yazi.mxz.common.entity.beans.Order;
import com.yazi.mxz.common.entity.beans.Region;
import com.yazi.mxz.common.entity.beans.ShoppingCart;
import com.yazi.mxz.common.entity.beans.Store;
import com.yazi.mxz.common.entity.beans.StoreGoods;
import com.yazi.mxz.common.entity.beans.StorePromote;
import com.yazi.mxz.common.entity.beans.StoreRestock;
import com.yazi.mxz.server.response.view.ExpressesFStoreAShoppingsView;
import com.yazi.mxz.server.response.view.PayTypesFStoreAShoppingsView;

public class StoreMixIn extends Store {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@JsonIgnore
	public Region getRegion() {return null;}

	@JsonIgnore
	public Set<StoreRestock> getStoreRestocks() {return null;}

	@JsonIgnore
	public Set<ShoppingCart> getShoppingCarts() {return null;}

	/*
	@JsonIgnore
	public Set<Express> getExpresses() {return null;}
	*/
	@JsonView(ExpressesFStoreAShoppingsView.class)
	@JsonSerialize(contentAs=ExpressMixIn.class)
	String expresses;
	

	@JsonIgnore
	public Set<Order> getOrders() {return null;}

	@JsonIgnore
	public Set<Member> getMembers() {return null;}

	/*
	@JsonIgnore
	public Set<PayType> getPayTypes() {return null;}
	*/
	@JsonView(PayTypesFStoreAShoppingsView.class)
	@JsonSerialize(contentAs=PayTypeMixIn.class)
	String payTypes;

	@JsonIgnore
	public Set<StorePromote> getStorePromotes() {return null;}

	@JsonIgnore
	public Set<StoreGoods> getStoreGoodses() {return null;}

	@JsonIgnore
	public Set<Article> getArticles() {return null;}
	
}
